ae918659f1388bfc5b1978451083ffdbb8752952,h2o-algos/src/main/java/hex/svd/SVDModel.java,SVDModel,toJavaPredictBody,#SBPrintStream#CodeGeneratorPipeline#CodeGeneratorPipeline#boolean#,209
Before Change
// Numeric columns
bodySb.i(1).p("for(int j = 0; j < ").p(nums).p("; j++) {").nl();
bodySb.i(2).p("preds[i] += (data[PERMUTE[j" + (cats > 0 ? "+" + cats : "") + "]]-NORMSUB[j])*NORMMUL[j]*EIGVECS[j" + (cats > 0 ? "+ nstart" : "") +"][i];").nl();
bodySb.i(1).p("}").nl();
bodySb.i().p("}").nl();
}
After Change
bodySb.i(1).p("}").nl();
// Numeric columns
if (_output._nnums > 0) {
bodySb.i(1).p("for(int j = 0; j < ").p(nums).p("; j++) {").nl();
bodySb.i(2).p("preds[i] += (data[PERMUTE[j" + (cats > 0 ? "+" + cats : "") + "]]-NORMSUB[j])*NORMMUL[j]*EIGVECS[j" + (cats > 0 ? "+ nstart" : "") + "][i];").nl();
bodySb.i(1).p("}").nl();
}